# 配置
Configs = {}

# 音符圆圈列表
MusicCircleList = []

# 谱面节点列表
MusicNodeList = []

# 数字资源列表（处理分数）
MusicNumberList = []

# slider资源列表
MusicSliderList = []

# hit资源列表
MusicHitList = []

# 分数
MusicScoreMap = {}

# 谱面速率
StartTime = None

# {a: 1, w: 2, d: 3, s: 4, left: 6, up: 7, right: 8, down: 9}
KeyMaps = {}

# 方向缓存记录
PressKeys = {'1': [], '2': [], '3': [], '4': [], '6': [], '7': [], '8': [], '9': []}

# --------- 以上默认值必为空 仅为定义--------


# 屏幕大小
Height = 800
Width = 800

# 中心区域大小
RectHeight = 400
RectWidth = 400

# 背景大小
BgRectHeight = 540
BgRectWidth = 360

# Combo样式
ComboCenter = [775, 27]
ComboHeight = 54
ComboWidth = 49

# Score样式
ScoreRect = [0, 0, 181, 99]
ScoreWidth = 400
ScoreHeight = 400

# Decorate样式
DecorateWidth = 400
DecorateHeight = 400

# 方向样式
PressDict = {
	'1': (180, 225),
	'2': (270, 315),
	'3': (0, 45),
	'4': (90, 135),
	'6': (225, 270),
	'7': (315, 360),
	'8': (45, 90),
	'9': (135, 180)
}

# 方向样式 (简单模式)
PressSimpleDict = {
	'1': 180,
	'2': 270,
	'3': 0,
	'4': 90,
	'6': 225,
	'7': 315,
	'8': 45,
	'9': 135
}

# 方向样式 (更简单模式)
PressMustSimpleDict = {
	'1': 180,
	'2': 270,
	'3': 0,
	'4': 90,
}


# --------- 以上部分 为样式--------

# 帧数
Fps = 90

# 音符圆圈形态 资源选择
CircleFileRange = [1, 2, 3]  # Quick [5, 6, 7]

# 谱面速率
NodeSpeed = 1

# 最大分数
ScoreMax = 12

# 自动游戏
GameAuto = False

# 模式
GameModel = 1  # {1: 更简单; 2: 简单; 3: 复杂}

# miss后 重计数
GameMissReSet = False

# 分数标识
Codes = ['great+', 'great', 'good', 'bad+', 'bad']
CodeScores = {
	'great+': 5,
	'great': 4,
	'good': 3,
	'bad+': 2,
	'bad': 1
}

# 分数全部字段集合
Scores = ['miss', 'bad', 'bad+', 'good', 'great', 'great+']

# 出圈前距离
MissedBefore = len(Codes)*300

# 出圈后距离
MissedAfter = len(Codes)*400
